package theTVDB.com.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;

	public class SearchSeriesEvent extends CairngormEvent
	{
		public static const EVENT_NAME : String = "SEARCH_SERIES_EVENT";

		public var language:String;
		public var seriesName:String;
		public var callback:Function;

		public function SearchSeriesEvent( bubbles : Boolean = false, cancelable : Boolean = false )
		{
			super( EVENT_NAME, bubbles, cancelable );
		}

		public override function clone() : Event
		{
			var event:SearchSeriesEvent = new SearchSeriesEvent( bubbles, cancelable );
			event.language = language;
			event.seriesName = seriesName;
			event.callback = callback;
			return event;
		}
	}
}
